<template>
  <div id="app">
      <header class="header_terr">
        <span><</span>
        <span>订单</span>
        <span></span>
      </header>
      <!--  -->
      <div class="box">
        <img src="//fuss10.elemecdn.com/f/18/9fb04779371b5b162b41032baf5f3gif.gif">
        <h3>登录后查看外卖订单</h3>
        <div class="btn">
          <button>立即登录</button>
        </div>
      </div>
      <!--  -->
    <router-view/>
  </div>
</template>

<script>
export default {
  name:"app1"
}
</script>

<style scoped lang="less">
.px2rem(@name, @px) {@{name}: @px / 75 * 1rem;}
.header_terr{
  z-index: 99;
  width: 100%;
  .px2rem(height, 100);
  position: fixed;
  left: 0;
  top: 0;
  background: #00a4ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  .px2rem(font-size, 32);
  font-weight: 400;
  span:nth-child(1){
    width: 6%;
    text-align: center;
  }
}
#app{
  background: #f5f5f5;
  height: 90vh;
}
.box{
  width: 100;
  .px2rem(margin-top, 100);
  .px2rem(padding-top,200); 
  img{
    display: block;
    width: 50%;
    height: 50%;
    margin: 0 auto;
  }
  h3{
    .px2rem(height, 60);
    .px2rem(line-height, 60);
    .px2rem(font-size, 30);
    text-align: center;
    color: #666666;
  }
  .btn{
    width: 100%;
    .px2rem(height, 100);
    display: flex;
    justify-content: center;
    align-items: center;
    button{
      width: 30%;
      height: 85%;
      border: none;
      outline: none;
      border-radius: 5px;
      background: #00d762;
      color: white;
      .px2rem(font-size, 30);
      font-weight:bolder;

    }
  }
}
</style>